package com.blog.service;
import com.baomidou.mybatisplus.extension.service.IService;

import com.blog.domain.DTO.AddLinkDto;
import com.blog.domain.DTO.LinkListDto;
import com.blog.domain.DTO.LinkStatusDto;
import com.blog.domain.DTO.StatusDto;
import com.blog.domain.ResponseResult;
import com.blog.domain.entity.Link;

import java.util.List;

/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2024-08-25 16:04:50
 */
public interface LinkService extends IService<Link> {
	ResponseResult getAllLink();


	ResponseResult linkList(Integer pageNum, Integer pageSize,
	                        LinkListDto linkListDto);

	ResponseResult addLink(AddLinkDto addLinkDto);

	ResponseResult getLinkById(Long id);

	ResponseResult updateLink(AddLinkDto addLinkDto);

	ResponseResult deleteLink(List<Long> ids);

	ResponseResult updateLinkStatus(LinkStatusDto linkStatusDto);
}
